package com.splic.product.mapper;

import java.util.List;
import com.splic.product.domain.ExchangeRate;

/**
 * 汇率Mapper接口
 * 
 * @author singe
 * @date 2022-01-04
 */
public interface ExchangeRateMapper 
{
    /**
     * 查询汇率
     * 
     * @param id 汇率主键
     * @return 汇率
     */
    public ExchangeRate selectExchangeRateById(Long id);

    /**
     * 查询汇率列表
     * 
     * @param exchangeRate 汇率
     * @return 汇率集合
     */
    public List<ExchangeRate> selectExchangeRateList(ExchangeRate exchangeRate);

    /**
     * 新增汇率
     * 
     * @param exchangeRate 汇率
     * @return 结果
     */
    public int insert(ExchangeRate exchangeRate);

    /**
     * 修改汇率
     * 
     * @param exchangeRate 汇率
     * @return 结果
     */
    public int update(ExchangeRate exchangeRate);

    /**
     * 删除汇率
     *
     * @param id 汇率主键
     * @return 结果
     */
    public int deleteById(Long id);


}
